<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<!DOCTYPE html >
<html>
<head>
<title>Job Hunter - modifier entreprise</title>
</head>
<body>

	<div id="breadcrumb">
		<a href="/main" >accueil</a> >
		<a href="/companiesList" >entreprises</a>
		> modification
	</div>
	<form action="updCompanyValidate" method="post">
		<h1>Formulaire de modification d'entreprise</h1>
		
		<input type="hidden" name="id" value="${company.id }"/>
		<div><label>Name : </label><input type="text" name="name" value="${company.name }"/></div>
		<div><label>WebSite : </label><input type="text" name="website" value="${company.website }"/></div>
		<div><label>Phone : </label><input type="text" name="phone" value="${company.phone }"/></div>
		<div><label>EMail : </label><input type="text" name="email" value="${company.email }"/></div>
		<div><label>Address : </label><input type="text" name="address" value="${company.address }"/></div>
		<c:if test="${contactId != null}">
			<input type="hidden" name="contactId" value="${contactId }" />
		</c:if>
		<div><input type="submit"/></div>
	</form>
</body>
</html>